package com.kingdee.eas.construmanag;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class XmghE5Factory
{
    private XmghE5Factory()
    {
    }
    public static com.kingdee.eas.construmanag.IXmghE5 getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmghE5)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("885805E2") ,com.kingdee.eas.construmanag.IXmghE5.class);
    }
    
    public static com.kingdee.eas.construmanag.IXmghE5 getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmghE5)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("885805E2") ,com.kingdee.eas.construmanag.IXmghE5.class, objectCtx);
    }
    public static com.kingdee.eas.construmanag.IXmghE5 getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmghE5)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("885805E2"));
    }
    public static com.kingdee.eas.construmanag.IXmghE5 getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmghE5)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("885805E2"));
    }
}